图像文件夹的访问权限 [英] Access permisson of Image Folder

查看:72
本文介绍了图像文件夹的访问权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我使用c#上传了一张照片,该照片已成功上传到服务器上,但未显示在前面.当我允许上传该图像的文件夹和刷新页面的权限时,它将显示.

但是当我更改或上传其他文件时,它不再显示.我重复与描述相同的流程,并且效果很好.

那么上传图像而不需要每次都授予文件夹许可的解决方案是什么.

它在我的本地PC上运行良好.无需每次都授予文件夹许可

谢谢.

Hello

I upload a photo using c#.It successfully uploaded on server.but it is not displayed on front. when i give a permission of folder where this images is uploaded and refresh page then it is displayed.

but when i changed or uploaded other file it does not displayed again. I repeat same flow as describe and it works fine.

So what is the solution to upload images and no need to give a permission of folder every time.

it works fine on my local pc.No need to give permission of folder every time

Thanks.

推荐答案

文件夹权限问题不大. itz拥有文件许可权.

我遇到了同样的问题.要找到根本原因,请右键单击指定的文件,然后转到属性.在安全性"选项卡下,您需要有权访问EveryOne(至少已阅读).否则,您将在服务器上遇到权限问题.

默认情况下,您可以在本地PC上进行访问;但不在服务器上.
Itz not a problem with folder permission; itz with the file permission.

I encountered the same problem. To find the root cause, right click on the specified file and go to properties. Under Security TAB, you need to have the access to EveryOne (at least read). Otherwise, you will have the permission problem at the server.

By default, you may have the access in the local PC; but not at server.


这篇关于图像文件夹的访问权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆