如何使用 AD 凭据将外部文件上传到我的服务器?
我希望我的一些用户能够回家并从家庭电脑上上传他们的文件,方法是输入 www.mydomain.com/upload ,
它会询问他们的 Windows 用户名和密码,然后获取这些文件并将它们上传到他们的re-文件服务器上的定向文件夹...
我猜 SSL 加密是一个开始(或者可能是我的最后一步)。我可以做一个 VB 脚本服务器和 runas - 复制吗?
i want some of my users to be able to go home and upload their files from Home PC's by going to say www.mydomain.com/upload
it will ask for their windows username and password then take those files and upload them to their re-directed folder on the fileserver...
im guessing SSL encryption is a start (or probably my last step). Can i do a VB script server ened and a runas - Copy?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
呃...你的想法是对的,但是退后一步。
有两个主要选项:
* WebDAV - 任何拥有现代操作系统的人都可以配置“Web 文件夹”。 Windows 会将网络位置显示为文件系统文件夹,用户只需拖放文件即可上传它们。这需要配置 IIS。
* 基于 Web 的文件上传脚本 - 此类脚本有很多,但很少有将身份验证与 IIS 集成并支持 Kerberos。您不需要 TLS/SSL 进行 Windows 身份验证或 Kerberos,但无论如何这可能是个好主意。如果找不到您想要的内容,您可能需要自己编写,但是 VBScript 不合适,因为它没有对身份模拟或轻松处理文件上传的内置支持(这是可能的,但不是很容易)。您最好使用 PHP 或 ASP.NET
HTH。
Uh... you've got the right idea, but step back a moment.
There are two main options:
* WebDAV - Anyone with a modern OS can configure "Web Folders". Windows will present the network location as a filesystem folder where users can simply drag and drop files to upload them. This requires configuring IIS.
* A web-based file upload script - There are many of these around, however very few of these integrate authentication with IIS and support Kerberos. You do not need TLS/SSL for Windows Authentication or Kerberos, but it might be a good idea anyway. You may need to write your own if you can't find what you want, however VBScript is not appropriate as it has no built-in support for Identity Impersonation or handling file uploads with ease (it is possible, but not very easy). You're better off using PHP or ASP.NET
HTH.