Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 06-10-2004, 08:24 AM   #1 (permalink)
Apprentice
 
Join Date: Dec 2003
Posts: 58
Default .htpasswd


I am making a website , i need to allot a different directory to every user.
I have heard that in apache , we can do something like .htpasswd authentication, well that can also save me from making tables and using mysql.
I know ASP. Can anyone tell me more on this.
and if possible can u show me the scrap code, which will help me to do this.

Thanks

p.s. i am using windows.
guru is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 06-10-2004, 12:26 PM   #2 (permalink)
In The Zone
 
firewall's Avatar
 
Join Date: Mar 2004
Location: Kolkata - INDIA
Posts: 301
Default

http://linuxjunkies.org/forum/viewtopic.php?t=250

__________________
www.aloke.info
firewall is offline  
Old 06-10-2004, 02:59 PM   #3 (permalink)
In The Zone
 
Join Date: Feb 2004
Location: Chennai
Posts: 300
Default

you need to learn php programming, so that its simple for accesing .htapsswords

BTW ASP is not supported in Linux, you need MS Webserver to run ASP !!
__________________
Vande Mataram - Two words that became a Fiery War Cry and Electrified the nation towards Freedom. A mantra that instills a sense of Pride and belonging.
go4inet is offline  
Old 06-10-2004, 10:37 PM   #4 (permalink)
Version 2.0
 
Deep's Avatar
 
Join Date: Jan 2004
Location: Mumbai
Posts: 977
Default

Quote:
Originally Posted by go4inet
you need to learn php programming, so that its simple for accesing .htapsswords
i dont think is has got anything to do with PHP dude..

its completely difference concept..

anyways getting back to the topic..


i dont think .htaccess thing work with IIS..it works with Apache only..

so to make directory protection in IIS u need to select security tab in IIS control panel under desired directory and change settings there...

but for all these u need admin access and i doubt anyone will give u access in shared hosting (i am not sure whether control panels will have that option or not..check with your web host)

regards
Deep

P.S. btw check this page http://www.htmlite.com/HTA006.php for htaccess code format and sample...or check the link provided by firewall
__________________
- Deep Ganatra -
www.whoisdeep.com
www.twitter.com/DeepXP/
Deep is offline  
Old 07-10-2004, 12:39 AM   #5 (permalink)
Apprentice
 
Join Date: Dec 2003
Posts: 58
Default

oh thanks , i will ask more later
Thanks for the link
guru is offline  
Old 07-10-2004, 11:23 PM   #6 (permalink)
Apprentice
 
Join Date: Dec 2003
Posts: 58
Default

can anyone show me the scarp code. Which can help me in this.
guru is offline  
Old 07-10-2004, 11:30 PM   #7 (permalink)
Version 2.0
 
Deep's Avatar
 
Join Date: Jan 2004
Location: Mumbai
Posts: 977
Default

did u check the url i gave u..everything is there..

anyways here is the code for you..

.htaccess
Code:
AuthType Basic

AuthName "Protected Area"

AuthUserFile "path of login and password file"

require valid-user
.htpasswd
Code:
username:password
Deep
__________________
- Deep Ganatra -
www.whoisdeep.com
www.twitter.com/DeepXP/
Deep is offline  
Old 08-10-2004, 11:59 PM   #8 (permalink)
Apprentice
 
Join Date: Dec 2003
Posts: 58
Default

Sorry , Deep I am so much confused and afraid, i don't know i would be able to delier it on time
Thanks for the code.
will get back to u , soon
guru is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by clmlbx
- by gforz
- by Who

Advertisement




All times are GMT +5.5. The time now is 04:38 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2