Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/77.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 如何使用浏览器访问受限网站区域(权限设置为700)?_Html_Browser_Ssh_Permissions - Fatal编程技术网

Html 如何使用浏览器访问受限网站区域(权限设置为700)?

Html 如何使用浏览器访问受限网站区域(权限设置为700)?,html,browser,ssh,permissions,Html,Browser,Ssh,Permissions,我目前有一个关于共享主机的网站。网站的某个部分(特别是目录)的权限设置为700(仅限用户)。我这样做是为了让该网站的用户无法访问该网站的该部分。用户将收到“405禁止”错误 我现在的问题是,我不确定我自己作为管理员如何访问该目录中的网页。我尝试了SSH隧道,但不起作用 我必须补充一点,限制区中的文件大部分是HTML,所以我需要用浏览器打开它们 关于如何访问这些部分,您有什么想法吗?如果您正在使用cPanel,请尝试以下方法: 1. Login to your cPanel (if not al

我目前有一个关于共享主机的网站。网站的某个部分(特别是目录)的权限设置为700(仅限用户)。我这样做是为了让该网站的用户无法访问该网站的该部分。用户将收到“405禁止”错误

我现在的问题是,我不确定我自己作为管理员如何访问该目录中的网页。我尝试了SSH隧道,但不起作用

我必须补充一点,限制区中的文件大部分是HTML,所以我需要用浏览器打开它们


关于如何访问这些部分,您有什么想法吗?

如果您正在使用cPanel,请尝试以下方法:

 1. Login to your cPanel (if not already there)
 2. Click File Manager
 3. Click the name of the file for which you would like to change the
permissions.
 4. Select the Change Permissions link at the top right of the page.
 5. Select the permissions you would like to set for the file.
 6. Click Change Permissions
这里有一些额外的信息可能会有所帮助

Read = 4
Write = 2
Execute = 1
No permissions = 0

Write and Execute = 3
Read and Execute = 5
Read and Write = 6
Read and Write and Execute = 7

希望这对您有所帮助

如果您正在使用cPanel,请尝试以下方法:

 1. Login to your cPanel (if not already there)
 2. Click File Manager
 3. Click the name of the file for which you would like to change the
permissions.
 4. Select the Change Permissions link at the top right of the page.
 5. Select the permissions you would like to set for the file.
 6. Click Change Permissions
这里有一些额外的信息可能会有所帮助

Read = 4
Write = 2
Execute = 1
No permissions = 0

Write and Execute = 3
Read and Execute = 5
Read and Write = 6
Read and Write and Execute = 7

希望这有帮助

我没有试图更改文件的权限。我希望保持权限不变(700),以便用户无法访问这些文件。但是作为一名管理员,我需要能够访问这些文件。我的问题是,如何在不更改权限的情况下访问这些文件?啊,我看到权限设置为(700)时,所有者应该能够读取、写入和执行,如果您遇到错误,请确保您登录到管理员帐户。除此之外,我对答案迷路了。对不起,我没有试图更改文件的权限。我希望保持权限不变(700),以便用户无法访问这些文件。但是作为一名管理员,我需要能够访问这些文件。我的问题是,如何在不更改权限的情况下访问这些文件?啊,我看到权限设置为(700)时,所有者应该能够读取、写入和执行,如果您遇到错误,请确保您登录到管理员帐户。除此之外,我对答案感到迷茫,对不起。