<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: File Name Write Restriction in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023205#M300313</link>
    <description>Peace all,&lt;BR /&gt;&lt;BR /&gt;Thanks for the replies.&lt;BR /&gt;Well, the topic of enhancing the application a bit has come to reality somehow (yaayy :))&lt;BR /&gt;&lt;BR /&gt;Hopefully, this time my concerns regarding this will be heard :)&lt;BR /&gt;&lt;BR /&gt;=adley=</description>
    <pubDate>Thu, 21 Jun 2007 22:49:12 GMT</pubDate>
    <dc:creator>Brahnda Eleazar</dc:creator>
    <dc:date>2007-06-21T22:49:12Z</dc:date>
    <item>
      <title>File Name Write Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023193#M300301</link>
      <description>Peace all,&lt;BR /&gt;&lt;BR /&gt;There was a security "inquiry" as whether we can restrict a user in HP-UX so that this user can only write/create certain file names.&lt;BR /&gt;&lt;BR /&gt;For example, user001 can only create file F001 and it cannot be used to create F002 even though it is granted write access to the target directory. File F002 can only be created using user002 for example.&lt;BR /&gt;&lt;BR /&gt;Is this possible? If it is not, I was thinking of doing it by cron; but if there's anything more "real time", please share :)&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;=adley=</description>
      <pubDate>Tue, 19 Jun 2007 20:03:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023193#M300301</guid>
      <dc:creator>Brahnda Eleazar</dc:creator>
      <dc:date>2007-06-19T20:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: File Name Write Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023194#M300302</link>
      <description>I'm not aware of anything other than enforcement after the fact.  I'm not sure auditing, audsys(1m), would help.</description>
      <pubDate>Tue, 19 Jun 2007 21:37:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023194#M300302</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-06-19T21:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: File Name Write Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023195#M300303</link>
      <description>Peace Dennis Handly,&lt;BR /&gt;&lt;BR /&gt;I don't think audsys is applicable here. The background for this "inquiry" was because of applications located on a number of remote sites that need to do SFTP to the central office.&lt;BR /&gt;&lt;BR /&gt;Each site will have a unique file name associated with it and thus the "inquiry" comes in :) Each site should only be able to write the files associated with it and no other :)&lt;BR /&gt;&lt;BR /&gt;I'm still confused on what to do. If not by cron, perhaps I can prepare all of the possible file names and map them to the correct users as proper owners so that overwriting will be restricted. But this doesn't solve the problem relates to creating new file names not yet defined :)&lt;BR /&gt;&lt;BR /&gt;=adley=</description>
      <pubDate>Tue, 19 Jun 2007 22:03:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023195#M300303</guid>
      <dc:creator>Brahnda Eleazar</dc:creator>
      <dc:date>2007-06-19T22:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: File Name Write Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023196#M300304</link>
      <description>Perhaps you could create all the files first,&lt;BR /&gt;and give each of them an ACL to provide write&lt;BR /&gt;permission only for the desired user.&lt;BR /&gt;&lt;BR /&gt;Normally, one provides each user with a&lt;BR /&gt;separate directory (with limited write&lt;BR /&gt;permission), and then looks in all of them to&lt;BR /&gt;collect all the results.  (Which is easy on&lt;BR /&gt;VMS, but less so on UNIX.)&lt;BR /&gt;&lt;BR /&gt;I suspect that you have a problem which is&lt;BR /&gt;better solved in some other way, but if you&lt;BR /&gt;ask how to implement a bad solution instead&lt;BR /&gt;of how best to solve the real problem, then&lt;BR /&gt;you tend to get sub-optimal suggestions.</description>
      <pubDate>Tue, 19 Jun 2007 22:05:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023196#M300304</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-06-19T22:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: File Name Write Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023197#M300305</link>
      <description>Hi.&lt;BR /&gt;&lt;BR /&gt;The short answer is no. The correct answer however is that with a lot of work just about anything is possible. However it would not be an OS solution but another application to handle the file transfer or creation and validation.&lt;BR /&gt;&lt;BR /&gt;To restrict a remote users ability to write certian files with a given file mask would need a new shell or communications protocol to handle the server side of things. There are products that do this sort of thing already, Sterling Commerce's Connect Direct used by many financial institutions is one that comes to mind. Essentially what happens is that the files from each client are copied  to the destination server then a server side validation script is run and validates the data and moves it to the final destination if needed.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Andrew Y</description>
      <pubDate>Wed, 20 Jun 2007 01:30:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023197#M300305</guid>
      <dc:creator>Andrew Young_2</dc:creator>
      <dc:date>2007-06-20T01:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: File Name Write Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023198#M300306</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Another commercial product Fujitsu-Siemens "OpenFT". &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.fujitsu-siemens.com/products/software/openseas/openft.html" target="_blank"&gt;http://www.fujitsu-siemens.com/products/software/openseas/openft.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Is is available for many UNIX and Unix-like, Windows and some more.&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;HGH&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Jun 2007 02:28:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023198#M300306</guid>
      <dc:creator>Hemmetter</dc:creator>
      <dc:date>2007-06-20T02:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: File Name Write Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023199#M300307</link>
      <description>&amp;gt; [...] perhaps I can prepare all of the&lt;BR /&gt;&amp;gt; possible file names [...]&lt;BR /&gt;&lt;BR /&gt;It might be better to create a directory for&lt;BR /&gt;each user, with write permission for only&lt;BR /&gt;that user (perhaps something under each&lt;BR /&gt;user's home directory), and require that all&lt;BR /&gt;files be transferred to those directories.&lt;BR /&gt;That should satisfy the exclusive write&lt;BR /&gt;permission requirement.&lt;BR /&gt;&lt;BR /&gt;Then, you can run a script (periodically,&lt;BR /&gt;using "cron", or however) which can look&lt;BR /&gt;through those user-specific directories and&lt;BR /&gt;move the files which you wish to move to&lt;BR /&gt;their ultimate destinations.  You could, for&lt;BR /&gt;example, take each user name, remove the&lt;BR /&gt;"user" part, and look for "*${remainder}"&lt;BR /&gt;("*002", say) in the user's special transfer&lt;BR /&gt;directory.  It's not classy, but it should be&lt;BR /&gt;fairly easy to implement.</description>
      <pubDate>Wed, 20 Jun 2007 02:29:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023199#M300307</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-06-20T02:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: File Name Write Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023200#M300308</link>
      <description>Peace Steven,&lt;BR /&gt;&lt;BR /&gt;Ideally, it is just you said -- limit a user to a certain directory. However, the application to be implemented cannot behave like that, at least not without a lot of changes and I don't think the developers have enough time to do those changes as per the current situation here :)&lt;BR /&gt;&lt;BR /&gt;Preparing the files first seem to be the easiest way, and combining it with a cron for cleanup/monitoring might work.&lt;BR /&gt;&lt;BR /&gt;=adley=</description>
      <pubDate>Wed, 20 Jun 2007 20:14:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023200#M300308</guid>
      <dc:creator>Brahnda Eleazar</dc:creator>
      <dc:date>2007-06-20T20:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: File Name Write Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023201#M300309</link>
      <description>&amp;gt; [...] the application to be implemented&lt;BR /&gt;&amp;gt; cannot behave like that [...]&lt;BR /&gt;&lt;BR /&gt;Perhaps not, but when you don't specify the&lt;BR /&gt;constraints on the application's behavior, it&lt;BR /&gt;can be hard to make the right guesses.&lt;BR /&gt;Knowing nothing about how these files are&lt;BR /&gt;being created, it's difficult to distinguish&lt;BR /&gt;easy from impractical or impossible.  For&lt;BR /&gt;example, "the target directory" could be&lt;BR /&gt;specified in any number of ways, some of&lt;BR /&gt;which would be helpful, while others would&lt;BR /&gt;pose obstacles.  (I have a suspicion that on&lt;BR /&gt;VMS, logical names might simplify things&lt;BR /&gt;considerably, but on HP-UX, you're left with&lt;BR /&gt;things like symbolic links and chroot(),&lt;BR /&gt;which may or may not be helpful.)</description>
      <pubDate>Wed, 20 Jun 2007 22:27:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023201#M300309</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-06-20T22:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: File Name Write Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023202#M300310</link>
      <description>There is nothing in UNIX to do this nor should there be. This should be solely a function of the application and should have been specified when the application was designed. Anything other than an application change is throwing a Band-Aid at the problem.&lt;BR /&gt;&lt;BR /&gt;I assume that someone approved this application design; that is where the responsibility lies.</description>
      <pubDate>Wed, 20 Jun 2007 22:53:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023202#M300310</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-06-20T22:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: File Name Write Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023203#M300311</link>
      <description>Steven: you're left with things like symbolic links&lt;BR /&gt;&lt;BR /&gt;One idea with symlinks is use a symlink for the application that points into the private directory.&lt;BR /&gt;&lt;BR /&gt;So the application sees a central directory, one symlink for each user.  But each user can only write to their subdirectory.</description>
      <pubDate>Wed, 20 Jun 2007 22:55:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023203#M300311</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-06-20T22:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: File Name Write Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023204#M300312</link>
      <description>It sounds like the users are not properly trained in Unix but have been given shell access. That is the real problem. You need to take away shell access and replace their login program with a menu that only gives them the tasks that you define. That way, they can never make a mistake and you won't have to find and workaround endless shell issues for untrained users.</description>
      <pubDate>Thu, 21 Jun 2007 09:03:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023204#M300312</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-06-21T09:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: File Name Write Restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023205#M300313</link>
      <description>Peace all,&lt;BR /&gt;&lt;BR /&gt;Thanks for the replies.&lt;BR /&gt;Well, the topic of enhancing the application a bit has come to reality somehow (yaayy :))&lt;BR /&gt;&lt;BR /&gt;Hopefully, this time my concerns regarding this will be heard :)&lt;BR /&gt;&lt;BR /&gt;=adley=</description>
      <pubDate>Thu, 21 Jun 2007 22:49:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-name-write-restriction/m-p/4023205#M300313</guid>
      <dc:creator>Brahnda Eleazar</dc:creator>
      <dc:date>2007-06-21T22:49:12Z</dc:date>
    </item>
  </channel>
</rss>

