无法删除远程服务器上的文件(每次询问密码) [英] Not Able to delete files on remote server (it's asking Password Everytime)

查看:220
本文介绍了无法删除远程服务器上的文件(每次询问密码)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!
我已使用Windows身份验证.
我正在为登录的用户进行会话.(没有角色)
我有一个功能,用户可以从网站上的临时文件夹中删除文件,但每次都要求输入密码.我试图通过iis提供写权限,但由于服务器位于远程计算机上,因此我无法访问iis.
我需要一些东西,我可以通过代码为该文件夹的所有用户提供写权限.
请帮忙.
谢谢!

Hi!
I have used Windows authentication.
I am making session for users who are logged in.(no roles are there)
I have a feature where user can delete the files from temporary folder in the website but it is asking Password everytime . I have tried to provide write permission through iis but i can''t access iis since the server is on remote machine.
I need something that i can provide write permission through code for all users for that folder.
Please Help.
Thanks!

推荐答案

hi

请参考,

在您的应用程序中,您将有一个名为"web.config"的文件,您可以使用该文件并提供删除数据的权限.


http://support.microsoft.com/kb/316871 [
hi

refer this,

in your application you will have a file called "web.config" you use this and provide permissions to delete the data.


http://support.microsoft.com/kb/316871[^]


这篇关于无法删除远程服务器上的文件(每次询问密码)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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