zoukankan      html  css  js  c++  java
  • You cannot access the client's file system using the FileSystemObject in your ASP code

    http://p2p.wrox.com/topic.asp?TOPIC_ID=587

    What kind of permission are you trying to propagate? FSO can be used to copy contents from one place to another, provided that you have enough permissions to access both the source and destination. But if that permission contradicts to the usage of FSO, then you cannot access those files/folder at all.

    Just taken from a website
    ASP pages reside and are executed on the web server, when using FSO to access the file system, you are accessing the web server's file system. You cannot access the client's file system using the FileSystemObject in your ASP code.

    One important thing to keep in mind when using the FileSystemObject is permissions! In Windows NT, there are three types of permissions: Read, Write, and Full Access. Whenever an ASP page attempts to execute some file system command using FSO, the anonymous web user ID is used: IUSR_machinename (i.e., if your webserver is named Bob, the user ID is IUSR_Bob). If IUSR_machinename doesn't have permissions to Read for a particular directory, you cannot use FSO to read the contents of a file in that directory through an ASP page. If IUSR_machinename doesn't have permissions to Write for a particular directory, you cannot use FSO to write a file to that directory through an ASP page. If IUSR_machinename doesn't have Full Access permissions for a particular directory, you cannot use FSO to delete or move a file from that directory through an ASP page.


    Read this link, not sure if this helps you in a way.
    How To Use ADSI to Set Automatic Inheritance of File/Folder Permissions

    Cheers!

    _________________________
    - Vijay G
    Strive for Perfection
  • 相关阅读:
    Kali 2020.3安装docker和vulhub
    Web渗透——身份管理测试
    Web渗透——配置管理测试
    网站信息收集
    linux修改MAC的方法
    '文件上传总结'
    美杜莎和九头蛇的对比
    渗透测试常见开放端口及利用
    Google hacking 语法
    web渗透测试基本步骤
  • 原文地址:https://www.cnblogs.com/cy163/p/276416.html
Copyright © 2011-2022 走看看