Last post Aug 09, 2017 12:56 PM by jzero
Aug 06, 2017 03:21 PM|alihusain_77|LINK
I have a two separate servers on the same domain:
1 - Application sever, which has IIS 7.0, on Windows 2012 Server.
2- Documents Files Server, running on Windows 2012 Server.
The system I am developing is upload, and downloading documents (Pdf, Doc, Docx, Txt) into the "Documents Server". The aspx form which performs the uploading, downloading procedure is located on the "Application Server"
Now the problem that I will face is the Access Denied, as the "Documents Server" folders are not shared. If I make it shared, the security will be breached.
The login into the "Application Server" home aspx form depends on Windows Authentication by Active Directory, thus, only windows users will be able to access the application server with Anonymous Authentication is disabled.
The question is how to enable the procedure running on the IIS, on the Application Server accessing the documents on the Documents Server without having security problems? Is their any settings or configuration I should made on the folders of the "Documents
Please help with thanks
Aug 07, 2017 07:23 AM|Eric Du|LINK
According to your description, I need confirm some information with you, if your document files server only is a file folder?
As far as I know, if your documents file server is a file store disk, I think you need set it as shared folder.
I suggest you could add store space of application server disk or create a web api to pass this file to file document server.
Aug 09, 2017 11:00 AM|alihusain_77|LINK
If I make it shared, the privacy of the files will be breached. Please read my requirements again.
Aug 09, 2017 12:13 PM|anas|LINK
Do you have a domain for both of these servers ? If so, you can create a domain user with admin privileges on both servers and use it as an identity for the IIS app domain (from ISS management console). this way, the application host process on the app server
will be running under this domain account which allows your application to access the files server even via the admin shares and no need to have share folders.
Aug 09, 2017 12:56 PM|jzero|LINK
I think you forgot to give File/Folder permissions for IIS AppPool in Documents Server.
Usually when you set a website on IIS it assigns a default user (IIS AppPool\DefaultAppPool).
So basically your website is running under AppPool credentials.
Your home.aspx login based on windows authentication, is used only to give access to your webform, after that AppPool user is used for everything.