Reply
Automatic username/password sending to website.
Old 05-05-2006, 04:22 PM Automatic username/password sending to website.
Junior Talker

Posts: 2
I have a program that reads a textfile with data on it, parses it and makes active links to a website, when clicked the page is shown in a frame with internet explorer showing the site.

Now I want to password protect the program or the site to block unregistered users to use the program without permit.

I dont need anything fancy or complicated, so I just made a .htaccess file on my server to ask for a username and password.

The thing is that I want my program to automatically send the parsed textfile filename (with no extension) as username and a fixed password (the same password will be used for every user).

In Netscape, Opera and Firefox this could be done by just making the link to be something like:

http://username:password@server.com

but explorer gives a syntax error when entering this kind of address.

I dont want the users to manualy type the username and password everytime they use the program, nor do I want them to give the username and password to everyone, this is why I need the filename as username, the filename cant be changed.

Thanks in advance for your help!
vra1974 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 05-05-2006, 06:22 PM Re: Automatic username/password sending to website.
chrishirst's Avatar
Super Moderator

Posts: 13,669
Location: Blackpool. UK
this is the .net forum BTW

and it's a security patch that was done over 12 months ago
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-10-2006, 08:59 AM Re: Automatic username/password sending to website.
vivekar's Avatar
Webmaster Talker

Posts: 539
Quote:
I dont want the users to manualy type the username and password everytime they use the program, nor do I want them to give the username and password to everyone, this is why I need the filename as username, the filename cant be changed.
BTW, Why don't you just make the site public? Just my 2c.
__________________
| Submit URL at All the Websites Directory
| Get Certified in Web Design
vivekar is offline
Reply With Quote
View Public Profile Visit vivekar's homepage!
 
Old 05-10-2006, 07:52 PM Re: Automatic username/password sending to website.
Junior Talker

Posts: 2
Thanks to Chris I found the registry value to add in order to make Internet Explorer compatible with usernames and password inbeeded in the link:

[IMG]file:///C:/WINDOWS/TEMP/moz-screenshot.jpg[/IMG]REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_HTTP_USERNAME _PASSWORD_DISABLE]
"iexplore.exe"=dword:00000000
"explorer.exe"=dword:00000000


This way, I will get a nice access control over the software.

Thanks everyone!
vra1974 is offline
Reply With Quote
View Public Profile
 
Old 05-11-2006, 04:40 AM Re: Automatic username/password sending to website.
vivekar's Avatar
Webmaster Talker

Posts: 539
Hi vra1974, Please don't get me wrong.
Are you talking about the changing the registry value on the Client's (your visitor's) computer or your computer?
__________________
| Submit URL at All the Websites Directory
| Get Certified in Web Design
vivekar is offline
Reply With Quote
View Public Profile Visit vivekar's homepage!
 
Old 11-01-2006, 05:18 AM Re: Automatic username/password sending to website.
Junior Talker

Posts: 1
Name: Richard Kimberley
I'm after a solution to the same problem. I want to give public access to my IP Camera which has its own web server. The only problem is it is protected by a .htaccess password. I want users to be able to view the camera directly without having the password prompt. Any ideas? Thanks!
RichardK is offline
Reply With Quote
View Public Profile
 
Old 11-01-2006, 04:56 PM Re: Automatic username/password sending to website.
chrishirst's Avatar
Super Moderator

Posts: 13,669
Location: Blackpool. UK
delete the .htaccess password
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Automatic username/password sending to website.
 

Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13519 seconds with 12 queries