![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Professional Programmer
|
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
|
|
|
|
|
|
#2 |
|
Professional Programmer
|
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? |
|
|
|
|
|
#3 |
|
Professional Programmer
|
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;} |
|
|
|
|
|
#4 |
|
Professional Programmer
|
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 |
|
|
|
|
|
#5 | ||
|
Programmer
Join Date: Sep 2005
Posts: 58
Rep Power: 4
![]() |
Quote:
Someone didn't read the rules. Quote:
Correct me if I'm wrong :p |
||
|
|
|
|
|
#6 |
|
Professional Programmer
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 4
![]() |
I think that he clearly said that he is not making any hacks, cracks, etc.
|
|
|
|
|
|
#7 |
|
Programmer
Join Date: Sep 2005
Posts: 58
Rep Power: 4
![]() |
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
|
|
|
|
|
|
#8 |
|
Professional Programmer
|
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.
|
|
|
|
|
|
#9 |
|
Expert Programmer
|
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.
|
|
|
|
|
|
#10 |
|
Professional Programmer
|
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? |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|