Link to home
Start Free TrialLog in
Avatar of anuboggaram
anuboggaramFlag for India

asked on

Access shared folder from application on workgroup without asking for username\password.

Hi have launched two servers Server1 and Server-2 on Amazon cloud and they are on workgroup. On server1  an asp.net application has been deployed & on Server-2 sql database is present which will be accessed by application server1.
when i logon to application and generate a report it has to access a shared folder on database server and create .txt files, inturn those values are inserted on sql tables.

Right now shared folder(Bulkinsertfilefolder) is not being accessed by application inspite of sharing and giving full permission to everyone. when i checked manually for shared folder accessibility its promting for username and password.

Is there a way to set server that appllication access shared folder without any hassle of username/password?
any command that can be added in webconfig file with username and pwd of server so that application use it to access shared folder on remote server??

OS: windows 2008 datacenter 64-bit
Avatar of eatmeimadanish
eatmeimadanish

Shares in windows consist of two security parameters, the share level permissions and NTFS security permissions.  Both need to be set for an application to write to the drive.  For instance you could add everyone to the share level permission, but if the security permission only allows administrators to write, then the user will still not be able to write.  
ASKER CERTIFIED SOLUTION
Avatar of eatmeimadanish
eatmeimadanish

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
yes, it is possible,

only one condition, both should have same local USER and SAME Password for that user account

Avatar of anuboggaram

ASKER

We had to give permission in SQL for Bulkinsert folder.