View previous topic :: View next topic |
Author |
Message |
rambo -
Joined: 20 Dec 2004 Posts: 11
|
Posted: Fri Dec 24, 2004 3:01 am Post subject: Rectricting a web page from the puplic |
|
|
Alright, this is my plan. At my site I want to host my homework files so i can print them at school because my printer is broken. I want to put a password protection on a page. For example: www.mysite.com/homework.html. I would want that page to be protected. I've tried the access controls but I cant figgure them out. Any help would be apreciated.
Thanks
DAN |
|
Back to top |
|
 |
rambo -
Joined: 20 Dec 2004 Posts: 11
|
Posted: Fri Dec 24, 2004 6:37 am Post subject: |
|
|
nevermind i got it fixed |
|
Back to top |
|
 |
Techbot-[KM]- -
Joined: 29 Dec 2004 Posts: 10
|
Posted: Wed Dec 29, 2004 4:22 am Post subject: |
|
|
Anyone care to explain to me how this works? :(
I'm trying to password protect my site, but its not wanting to work correctly
I've gone into the Access Controls, created a group for my friends and given that group Allow/Deny access...but its not prompting for a user id and pass from them |
|
Back to top |
|
 |
Glitch2082 -
Joined: 02 Dec 2004 Posts: 194
|
Posted: Wed Dec 29, 2004 5:34 am Post subject: |
|
|
Becuase, without prompting for a user ID and Pass it won't be able to tell who is in the group and who isn't. That would be something like me telling the computer to recognize someone by there face. _________________ int main() {
cout << "Im Pro Apache";
cin.get();
} |
|
Back to top |
|
 |
rambo -
Joined: 20 Dec 2004 Posts: 11
|
Posted: Wed Dec 29, 2004 5:12 pm Post subject: |
|
|
alright this is what i did, I got the new beta, and i tried restristing a page on my site. I figgured my problem was the virtual path, so the beta had a browse feature, it was easy as pie. |
|
Back to top |
|
 |
Techbot-[KM]- -
Joined: 29 Dec 2004 Posts: 10
|
Posted: Thu Dec 30, 2004 8:27 pm Post subject: |
|
|
buuuut i set my virtual path. everything is running smoothly. my only problem is that i want to restrict ppl. i want them to have to put a password in before they can even access the site. no public domain period.
Quote: | Becuase, without prompting for a user ID and Pass it won't be able to tell who is in the group and who isn't. That would be something like me telling the computer to recognize someone by there face. |
and you lost me there. Whatever you're smoking i'll take two :D |
|
Back to top |
|
 |
GagnierA -
Joined: 18 May 2004 Posts: 71 Location: Windsor, Ontario, Canada
|
Posted: Fri Dec 31, 2004 12:04 pm Post subject: |
|
|
The access control feature doesn't work on individual pages, only directories...as far as I know anyway, unless something was changed in this latest release. So instead of having a "homework.html" page and updating everytime you have something new...just make a "homework" directory, restrict it using the server's AC feature, and the listing of the available assignments will be there automatically with having no need for you to update anything... ;) :) |
|
Back to top |
|
 |
senshi -
Joined: 05 Nov 2003 Posts: 385 Location: UK
|
Posted: Sun Jan 02, 2005 3:29 pm Post subject: |
|
|
make a folder
then make a virtual path to that folder
then add a login and username to that alias
When you have set up that little lot, try accessing in your browser, if you have set up the security correctly, you will be greeted with a login box, supply the righ username and password and you get the page displayed, get it wrong and you wont be able to log in.
It is really simple, for more information I suggest you try searching for it when the search is fully functional again. The subject has actually been covered many many times. |
|
Back to top |
|
 |
Techbot -
Joined: 13 Oct 2004 Posts: 8
|
Posted: Sun Jan 02, 2005 9:56 pm Post subject: |
|
|
yeah this should be quite simple but its giving me hell. My virtual path that its asking for is on another hd here in my comp. So the actual path would be for instance: E:\-=SHARES=-
However, when I put this in and try to set the configuration, it gives me the error message that paths MUST start with a " \ " ... so i'm lost. |
|
Back to top |
|
 |
Arctic -
Joined: 24 Sep 2004 Posts: 560
|
Posted: Sun Jan 02, 2005 11:06 pm Post subject: |
|
|
GagnierA wrote: | The access control feature doesn't work on individual pages, only directories...as far as I know anyway, unless something was changed in this latest release. So instead of having a "homework.html" page and updating everytime you have something new...just make a "homework" directory, restrict it using the server's AC feature, and the listing of the available assignments will be there automatically with having no need for you to update anything... ;) :) |
LIES! ALL LIES! you can password protect the whole site by typing in / as the virtual realm (is that what it is called?) in the console somewhere, too lazy to give a step by step. |
|
Back to top |
 |
 |
GagnierA -
Joined: 18 May 2004 Posts: 71 Location: Windsor, Ontario, Canada
|
Posted: Mon Jan 03, 2005 8:35 am Post subject: |
|
|
lmao! I didn't lie, weirdo...haha. But to be more specific with what I had said....you can't password protect pages with Abyss (ie. hard-coded login forms, etc)....however, you can password protect directories....which of course includes virtual paths and aliases.
Techbot:
>> Go into your Abyss console
>> Click on configure (for the host your site is being served from)
>> Go to the Aliases menu (4th from the right, on the top row)
>> Click on Add
>> For 'virtual path', put in something like /shares
>> For 'real path', put in E:\-=SHARES=-\
>> Next, go back to the main menu (for the specified host)
>> Click on 'Users & Groups'
>> Click the Add button in the user table to set a user name and password for yourself
>> Click 'OK' and return to the main menu
>> Click on 'Access Control'
>> Click the Add button
>> If you're following exactly how I'm doing it in this example, for virtual path put in /shares, otherwise, put in what you chose to set it as.
>> Set the Realm to anything...ie, Restricted Area!
>> Make sure the 'Order' feild is set to Allow/Deny
>> Enable the checkbox next to your user name
>> Click 'OK' and restart the server as prompted.
To test if this has worked, open a browser and access http://localhost/shares and you should be prompted for a password....if that doesn't happen, go over the instructions again and follow them more carefully ;) :)
Good luck! |
|
Back to top |
|
 |
Techbot -
Joined: 13 Oct 2004 Posts: 8
|
Posted: Mon Jan 03, 2005 3:42 pm Post subject: |
|
|
ahhhh I believe I see now where i've been messing up. this stuff is in my TOP directory. I simply pointed my documents directory over to my shared folder with no index file.
right now if i type in my address (i'm using a dns service from dynu.com) i go straight to my site, no password needed.
When i follow your directions i STILL go straight into the site. However, if I add on the "/shares" at the end then it prompts for the password.
Thanks for the walk through. That helped me see where the problem was! |
|
Back to top |
|
 |
GagnierA -
Joined: 18 May 2004 Posts: 71 Location: Windsor, Ontario, Canada
|
Posted: Tue Jan 04, 2005 6:59 am Post subject: |
|
|
no problem :) I'm glad that I could help you out B) |
|
Back to top |
|
 |
|