Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

.NET Forum


You are currently viewing our .NET Forum as a guest. Please register to participate.
Login



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

Posts: 2
Trades: 0
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
 
 
Register now for full access!
Old 05-05-2006, 07:22 PM Re: Automatic username/password sending to website.
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,528
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
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!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-10-2006, 09:59 AM Re: Automatic username/password sending to website.
vivekar's Avatar
Webmaster Talker

Posts: 612
Trades: 0
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.
__________________

Please login or register to view this content. Registration is FREE
(Active since 2003) |
Please login or register to view this content. Registration is FREE
vivekar is offline
Reply With Quote
View Public Profile Visit vivekar's homepage!
 
Old 05-10-2006, 08:52 PM Re: Automatic username/password sending to website.
Junior Talker

Posts: 2
Trades: 0
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, 05:40 AM Re: Automatic username/password sending to website.
vivekar's Avatar
Webmaster Talker

Posts: 612
Trades: 0
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?
__________________

Please login or register to view this content. Registration is FREE
(Active since 2003) |
Please login or register to view this content. Registration is FREE
vivekar is offline
Reply With Quote
View Public Profile Visit vivekar's homepage!
 
Old 11-01-2006, 06:18 AM Re: Automatic username/password sending to website.
Junior Talker

Posts: 1
Name: Richard Kimberley
Trades: 0
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, 05:56 PM Re: Automatic username/password sending to website.
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,528
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
delete the .htaccess password
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Automatic username/password sending to website.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
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.39909 seconds with 12 queries