Ask a Question related to ASP, Design and Development.
-
bart plessers #1
NTFS-security and Scripting.FileSystemObject
Hello,
I want to list my folders with ASP.
I use following script to achieve this:
Set oFSO = Server.CreateObject("Scripting.FileSystemObject")
Set oRoot = oFSO.GetFolder(Path)
Set oFolders = oRoot.SubFolders
for Each oFolder in oFolders
Response.Write FolderDisplayName
next
However,
Some of the folders should be hidden for public acces.
I want to use NTFS-security to hide those folders (no access for IUSR_xxx)
But if I set NTFS security on a folder to "full access" ONLY for known users
on my system, I recieve an error:
Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied
Is there a way to avoid this problem?
Can I 'skip' this folder by first checking it's security settings?
How?
thanx in advance,
bartp
--
==========================================
Hyper A.R.T.
bart plessers
Paul Van Ostaijenlaan 4
3001 Heverlee
BELGIUM
tel: +32 (16) 23.40.85
fax: +32 (16) 23.41.06
==========================================
bart plessers Guest
-
How to prevent our client from using Scripting.FileSystemObject
I offer web space for our client to host their website. We offer them to upload asp files. How can we prevent our client to upload asp files wSet... -
Alternatives to using Scripting.FileSystemObject
Hi, I've got a freebie hosting mirror of my production personal website (sounds kinda grandiose, doesn't it?) at http://journeys.webhostme.com/.... -
Scripting.FileSystemObject problems
If I comment #2 to #5 no problems. If I uncomment #2, #4 and #5 the page hangs. Even did not reach the point to uncomment #3 So, whats wrong. Do i... -
Scripting.FileSystemObject
Hi everybody, found strange behavior in Scripting.FileSystemObject; only FileExists() method seems to work fine. All other methods cause browser... -
Scripting.FileSystemObject under stress
I'm having intermittent trouble with the Scripting.FileSystemObject. Basically, I'm stress testing my ASP application and using the FSO to output...



Reply With Quote

