Forum Moderators: phranque

Message Too Old, No Replies

heard microsoft disabled user:pass@mysite.com

htaccess problem !

         

c0nsur

11:58 pm on Feb 13, 2004 (gmt 0)

10+ Year Member



hey guys!
im building my website and i wanted to put a htaccess in a protected dir...
and place a login form somewhere to access my protected directory

so my login collect username and pass
and try to go at my dir specific url like this:
user:pass@mysite.com

but it works on some computer and doesnt for others

is there any reason?
or any other way to make a login without a prompt...you know on a page ...its more elegant than a popup :)

storevalley

11:00 pm on Feb 16, 2004 (gmt 0)

10+ Year Member



Some hosting companies will allow you to create a "members area" from your control panel. If yours doesn't, you will either need to move hosting company or pick up a script to do the job for you.

Try searching Google for "membership site script" or similar. You should find something to satisfy your needs.

Teri

7:05 pm on Mar 1, 2004 (gmt 0)

10+ Year Member



Hi - do you have any more info on what Microsoft have done . We've suddenly (about 4 weeks ago) started having problems - some corrently authenticated users are not able to access content in an htaccess protected directoy. This seems to
be affecting mostly users using XP/IE6 and Service Pack 1. The urls these users use to access content in the htaccess directory is in this fomat
ie user:pass@mysite.com. Our hosting service
reckons they've not made any changes at all.
Teri

choster

7:28 pm on Mar 1, 2004 (gmt 0)

coopster

7:31 pm on Mar 1, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Hi Teri, there is a link in this .htaccess [webmasterworld.com] thread that may provide insight.

thanks for finding the direct link, choster

Teri

10:30 am on Mar 2, 2004 (gmt 0)

10+ Year Member



Hi there,

Thanks for this - really useful but also a bit depressing. Looks like we're going to need a work-around in our security sytstem.
As I understand it, It's now impossible to avoid the pop-up login screen if you're using htpasswd protection.
From my (very limited) knowledge of htaccess, I gather there is another method mod_rewrite with
php_include that may be a better way of going about this. Would prefer not to have to start coding this from scratch. Does anyone know a good source of php scripts for this.
Our requirements aren't very comples. We're trying to provide access to a collection of pdf-s for a database of ca 10,000 subscribers.
Again - thanks for any guidance on this.

Teri

Teri

10:49 am on Mar 2, 2004 (gmt 0)

10+ Year Member



Hi again,
just to add to my previous post. Does anyone know if other browser manufacturers (eg netscape) have done the same thing. We haven't yet had a chance to check this yet.
Again thanks. Teri

choster

4:18 pm on Mar 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



AFAIK, no other browser manufacturers have made this change-- after all, it is still a legal protocol, stymied only by the mass market browser's need to serve the lowest common denominator in network security.

It was never secure to pass a username and password combination in cleartext over the public Internet. I certainly would not have used it for subscriber authentication, especially since end users often use the same userids and passwords across multiple sites. The same would be true if you fed them in as www.example.com/userid/password or www.example.com/login?userid=jsmith&pwd=webmwld92 .

If you already have a database of subscribers, why not set up application-based authentication? You could set cookies to manage user sessions. The login would be embedded in a web page, eliminating the popup window.

If you were encouraging the inline form as a shorthand, well, every modern browser has a password keeper built in, so a subscribed could simply save the password on his/her local machine.