Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

.htaccess Authentication

 
   Web Hosting and Web Master Forums (Home) -> Webmaster RSS
Next:  HAVE A DATABASE PROJECT - NEED TO HIRE A PROGRAMM..  
Author Message
user573

External


Since: Aug 19, 2004
Posts: 4



(Msg. 1) Posted: Thu Aug 19, 2004 12:28 pm
Post subject: .htaccess Authentication
Archived from groups: alt>www>webmaster (more info?)

My site is hosted on a linux server with apache webserver software and I do
not have controll over the server settings.
I want to password protect two separate directories at my website with the
same username and passwords:

Example:

Username: member
Password: password

Directories needed to be protected:
www.mydomain.com/members/
www.mydomain.com/albums/memberalbums/

There is the same .htaccess and .htpasswd file in both directories,
containing the same username and password in each.

I want to use the same username and password combination for these two
separate directories. My visitors are requested to enter the credentials in
two directories separately, but I want to enable them to enter both
directories by only one authentication. I am not able to do this by the
whole website, because there are some directories without authentication.
How can I make only one authentication for two separately located
directories by using same username and password pair so that my visitors do
not need to authenticate a second time once they authenticate in any one of
the directories?

 >> Stay informed about: .htaccess Authentication 
Back to top
Login to vote
usenet200408

External


Since: Aug 02, 2004
Posts: 145



(Msg. 2) Posted: Thu Aug 19, 2004 12:28 pm
Post subject: Re: .htaccess Authentication [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Webminor wrote:

 > Directories needed to be protected:
<font color=purple> > <a style='text-decoration: underline;' href="http://www.mydomain.com/members/</font" target="_blank">www.mydomain.com/members/</font</a>>
<font color=purple> > <a style='text-decoration: underline;' href="http://www.mydomain.com/albums/memberalbums/</font" target="_blank">www.mydomain.com/albums/memberalbums/</font</a>>

If you move 'memberalbums' inside 'members' then you only have to worry
about protecting one directory.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ <a style='text-decoration: underline;' href="http://tobyinkster.co.uk/contact" target="_blank">http://tobyinkster.co.uk/contact</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: .htaccess Authentication 
Back to top
Login to vote
user573

External


Since: Aug 19, 2004
Posts: 4



(Msg. 3) Posted: Thu Aug 19, 2004 1:35 pm
Post subject: Re: .htaccess Authentication [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

What if I can not move inside for some reason and still need to do single
authentication?


"Toby Inkster" <usenet200408.TakeThisOut@tobyinkster.co.uk> wrote in message
news:pan.2004.08.19.07.22.01.462201@tobyinkster.co.uk...
 > Webminor wrote:
 >
  > > Directories needed to be protected:
<font color=green>  > > <a style='text-decoration: underline;' href="http://www.mydomain.com/members/</font" target="_blank">www.mydomain.com/members/</font</a>>
<font color=green>  > > <a style='text-decoration: underline;' href="http://www.mydomain.com/albums/memberalbums/</font" target="_blank">www.mydomain.com/albums/memberalbums/</font</a>>
 >
 > If you move 'memberalbums' inside 'members' then you only have to worry
 > about protecting one directory.
 >
 > --
 > Toby A Inkster BSc (Hons) ARCS
<font color=purple> > Contact Me ~ <a style='text-decoration: underline;' href="http://tobyinkster.co.uk/contact</font" target="_blank">http://tobyinkster.co.uk/contact</font</a>>
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: .htaccess Authentication 
Back to top
Login to vote
kiwienzed

External


Since: Sep 03, 2004
Posts: 184



(Msg. 4) Posted: Thu Aug 19, 2004 11:27 pm
Post subject: Re: .htaccess Authentication [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Webminor" <hit.it.nospam.TakeThisOut@gmx.net> wrote in message
news:2oj3hvFb7ha8U1@uni-berlin.de...
 > What if I can not move inside for some reason and still need to do single
 > authentication?
 >

How about putting both directories in a portal directory. Authenticate via
the portal, once inside they then have access (links?) to the two
directories.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: .htaccess Authentication 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
htaccess help - Hi huys I usually design my sites using absolute paths. But then I have problems when I want to show my work to a client, and I upload everything to a secondary directory, ie: /temp1/ I know I can prevent all the linking mess using a htaccess file .. I....

.htaccess help - Hi, I want to redirect any access to image files on my website to a corresponding php file. For example, any request from external site to the file http://myhost.com/myimage.jpg will be redirected to the file http://myhost/view.php?file=myimage.jpg. How...

Help with .htaccess and 404. - Hi, In my .htaccess I have ErrorDocument 404 /Error404php.php And it works fine, but how do I know what page the user was looking for and was not found? lately my logs show 100's of 404, (a lot more than usual), so I suspect it is my fault but without...

How do I delete .htaccess? - I uploaded a cgi script to my server and the package included .htaccess. I don't like the program, so I deleted it, but I can't delete the folder because the .htaccess is in there. In my FTP program these files are hidden. Does anyone know how to..

htaccess question - Hi, How do I get to write the following as one line? RewriteCond %{HTTP_REFERER} !^http://images.google.co.uk/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://images.google.co.uk$ [NC] RewriteCond %{HTTP_REFERER} !^http://images.google.com.au/.*...
   Web Hosting and Web Master Forums (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]