Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 27th, 2005, 7:34 PM   #1
bigguy
Professional Programmer
 
bigguy's Avatar
 
Join Date: Sep 2005
Location: Arkansas
Posts: 298
Rep Power: 0 bigguy is an unknown quantity at this point
Send a message via AIM to bigguy Send a message via MSN to bigguy Send a message via Yahoo to bigguy
Download Manager

Hello, I'm makign a download type thing for my school, and I need to know how I can get the admins password, at my school, and thna the user tryign to download something, has to type in the admin;s password, to download anything. And than once they type the password, it will let them downlaod whatever they want, but than i want t make it where once that download is complete. When tey try to download sumthign else they have to type the password again. And for thos of you wondering, no I'm not trying to make a hack or anything, but our school network, keeps getting viruses becasue the 8th graders keep dowloading stuff. Any help is appreciated. Thnka You
bigguy is offline   Reply With Quote
Old Oct 27th, 2005, 8:18 PM   #2
bigguy
Professional Programmer
 
bigguy's Avatar
 
Join Date: Sep 2005
Location: Arkansas
Posts: 298
Rep Power: 0 bigguy is an unknown quantity at this point
Send a message via AIM to bigguy Send a message via MSN to bigguy Send a message via Yahoo to bigguy
Also, I was thinkignof doing it this way.

On Form Load. a dialog box pops up, asks for admin password(this is right after program has been installed), thna it saves to .txt file, only its encrypted(no one at my school, is smart enogh to decrypt anything), and than make it If txtPass.Text = (name of file/ or w/e)Then
allow download
Else
Close download Window.

Would that work?
bigguy is offline   Reply With Quote
Old Oct 27th, 2005, 8:42 PM   #3
iignotus
Professional Programmer
 
iignotus's Avatar
 
Join Date: Apr 2005
Location: Nowhere Special
Posts: 466
Rep Power: 4 iignotus is on a distinguished road
Send a message via AIM to iignotus
If the problem is that the children keep downloading stuff they're not supposed to, an alternate method of downloading things will not stop them, they'll just do it the way they're been doing it.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[ 
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;}
iignotus is offline   Reply With Quote
Old Oct 27th, 2005, 8:49 PM   #4
bigguy
Professional Programmer
 
bigguy's Avatar
 
Join Date: Sep 2005
Location: Arkansas
Posts: 298
Rep Power: 0 bigguy is an unknown quantity at this point
Send a message via AIM to bigguy Send a message via MSN to bigguy Send a message via Yahoo to bigguy
Huh? Im talkign about all our students have their own networ kID and password, only the administrator can change computer setting and network settings. So what I want is something, that when a student clicks on a download link, the program I want to make will popup, ask for administartor password, and than once they give the correct password , it will allow them to continue downlaoding, but if they don't get the correct password, and I've made it where they are allowed three times to try to enter admin password, before it just closes the download window, and than a message is sent to admin's computer sayign that this user tried to download a file form this site.

If you don't understand just tell me and I'll try ot be clearer. Thank You
bigguy is offline   Reply With Quote
Old Oct 28th, 2005, 1:13 AM   #5
ViOLATiON
Programmer
 
Join Date: Sep 2005
Posts: 58
Rep Power: 4 ViOLATiON is on a distinguished road
Quote:
Originally Posted by bigguy
Hello, I'm makign a download type thing for my school, and I need to know how I can get the admins password, at my school, and thna the user tryign to download something, has to type in the admin;s password, to download anything. And than once they type the password, it will let them downlaod whatever they want, but than i want t make it where once that download is complete. When tey try to download sumthign else they have to type the password again. And for thos of you wondering, no I'm not trying to make a hack or anything, but our school network, keeps getting viruses becasue the 8th graders keep dowloading stuff. Any help is appreciated. Thnka You
Main part being "I need to know how I can get the admins password, at my school" ...

Someone didn't read the rules.

Quote:
# Hacking - Do not discuss hacking on Programming Forums. This includes, but is not limited to discussion making/using hacks for video games, writing/using brute-force to gain passwords, or gaining unauthorized access to a machine. Security can be discussed, but from a constructive standpoint. Whether or not your posts involving security discussion are constructive or not are based on the staff's discretion, and if the staff deems that your post is not from a constructive point of view then appropriate action will be taken. This rule will be inforced on a case by case basis.
Found Here

Correct me if I'm wrong :p
ViOLATiON is offline   Reply With Quote
Old Oct 28th, 2005, 3:27 AM   #6
ivan
Professional Programmer
 
ivan's Avatar
 
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 4 ivan is on a distinguished road
I think that he clearly said that he is not making any hacks, cracks, etc.
ivan is offline   Reply With Quote
Old Oct 28th, 2005, 3:58 AM   #7
ViOLATiON
Programmer
 
Join Date: Sep 2005
Posts: 58
Rep Power: 4 ViOLATiON is on a distinguished road
If that was your intention would you come out and say it, after reading the rules? If you are in a position where you need to make such a program, would you not have admin access already?.. Just curious :p
ViOLATiON is offline   Reply With Quote
Old Oct 28th, 2005, 2:12 PM   #8
bigguy
Professional Programmer
 
bigguy's Avatar
 
Join Date: Sep 2005
Location: Arkansas
Posts: 298
Rep Power: 0 bigguy is an unknown quantity at this point
Send a message via AIM to bigguy Send a message via MSN to bigguy Send a message via Yahoo to bigguy
Yes, I already have the Admin password, because i am assistat admin, but the regular people with their own names, and passwords. Like you know in windows 2k Pro, when you lock computer, and it says, only admin or the user logged on can onlock it. Thats what I want to do, but I dont know hwo to make it where it can read the admins password, for that computer.
bigguy is offline   Reply With Quote
Old Oct 28th, 2005, 7:19 PM   #9
Rory
Expert Programmer
 
Rory's Avatar
 
Join Date: Jan 2005
Location: London
Posts: 542
Rep Power: 4 Rory is on a distinguished road
Send a message via MSN to Rory
If you're running Windows 2000, I'm sure there are a billion and one ways of achieving this through the operating system and its components. Start by poking around in Group Policy. Alternatively, if your router is on your domain (i.e. using ISA or something), you can set up a domain authenticated proxy and apply policy there thus enabling you to, say, transparently block downloads to certain accounts but not others, as well as the possibility of an Internet filtering system. Having a physical network device stopping the downloads is as near to fool-proof as you can get, and as iignotus hinted at, schools are the sorts of places where people trying to get round your measures would be a particular problem.
Rory is offline   Reply With Quote
Old Oct 30th, 2005, 10:22 AM   #10
bigguy
Professional Programmer
 
bigguy's Avatar
 
Join Date: Sep 2005
Location: Arkansas
Posts: 298
Rep Power: 0 bigguy is an unknown quantity at this point
Send a message via AIM to bigguy Send a message via MSN to bigguy Send a message via Yahoo to bigguy
OK this is what i have so far


Public Function Find_DownloadWindow() As Long
Find_DownloadWindow = FindWindow("#32700(Dialog)", vbNullString)
End Function


Thats in the module

and the #37200(Dialog) is the Download Dialog window Class

So how i get it to show Form1 to ask for password?
bigguy is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:19 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC