Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict Access to File when being written on the Application Server

Former Member
0 Kudos

Hi All,

I have a requirement:

When I am writing the data to the file in the Application Server.

Only the owner should be given access and other users and groups should not have access to the file and after completing the write activity, the other users should be able to have the read access.

how do i achieve this?

Thanks,

3 REPLIES 3

Former Member
0 Kudos

Hi,

Basis people will give the permissions on this............Contact with the same people

Regards

Ramakrishna Pathi

Former Member
0 Kudos

Hi,

you can do if sy-uname = 'user name'

then write into the file.

after the file is place on applicatiobn server the other users will be able to read it.

0 Kudos

I get the data written into the file through transaction.

In that case, how do i assign the give the sy-uname.

I want to lock the other users reading the file, when the file is being written irrespective of the user.