cant use other directory

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
PsyDonia
-


Joined: 07 Oct 2006
Posts: 28
Location: Sweden STHLM

PostPosted: Mon Oct 23, 2006 4:18 pm    Post subject: cant use other directory Reply with quote

I am trying X1.
and whant to se if I can get it to work exactly as I want before I buy X2.

so my question is.
If I install ASP support like ahtml.
and the user of the page or domain.
the user should only have access to the directory and subdir that the domain is in.
not previous directory.
how should I do that.
Iam not good in english so I hope someone understand what I meen.

if the root dir of one domain is c:\htdocs or somthing.
and should not be able to edit files in c:\ with FileSystemObject
Back to top View user's profile Send private message
abyssisthebest
-


Joined: 30 Jun 2005
Posts: 319
Location: Boston, UK

PostPosted: Mon Oct 23, 2006 4:38 pm    Post subject: Reply with quote

you can set this up using the FTP software. In most of them it is called the "Home Directoy".

In abyss, you just set the Base Dirceotry under Host >> General
_________________
My online Portfolio
Back to top View user's profile Send private message Send e-mail MSN Messenger
PsyDonia
-


Joined: 07 Oct 2006
Posts: 28
Location: Sweden STHLM

PostPosted: Mon Oct 23, 2006 5:51 pm    Post subject: Reply with quote

abyssisthebest wrote:
you can set this up using the FTP software. In most of them it is called the "Home Directoy".

In abyss, you just set the Base Dirceotry under Host >> General


I meen if you are in an scripting language.
like ASP.
in ASP with FSO you can access every file on the computer where the
webserver is running.
so my question how do I set that restriction so I cant access anythinh outside the root dir
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Mon Oct 23, 2006 8:57 pm    Post subject: Reply with quote

PHP can do this if you take the time to learn it. You will have to ask seliSoft
about the ActiveHTML root restriction.
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Oct 24, 2006 8:50 am    Post subject: Re: cant use other directory Reply with quote

PsyDonia,

You can do so by creating a limited user account in Windows (not an administrator). Such a user account will only have limited file access permissions for the system files. You can also enforce more limitations by using Windows Explorer and the Security tab of you important folders (in Properties).

Next install Abyss Web Server under this user account and set it to run from that user account privileges only. By doing so, only the files accessible to that user will be accessible to the script Abyss Web Server runs.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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


Powered by phpBB phpBB Group