From: Adam R. <ad...@ex...> - 2012-02-08 14:39:50
|
Indeed, XQuery is an interpreted language so you need both r and x. On Feb 8, 2012 12:03 PM, "Hungerburg" <pc...@my...> wrote: > Am 2012-02-08 03:45, schrieb Joe Wicentowski: > > > > In hindsight I realize I was reading your advice below too literally. > > It makes sense that to "execute" a .xq via web browser, we need to not > > only make it "executable" but also "readable". > > > > Apologies if this is covered in basic unix permissions model, and > > apologies for my ignorance! > > In the unix model, scripts that are to be executed by an interpreter, > have to be both readable and executable by the user, while binaries, > that can be executed by the kernel directly only require execute > permission by the user. This difference does not make much sense in > eXist, does it? > > Requiring only exec permission for xquery procedures would allow to eg. > hardcode passwords in a script or use of some logic, that the executing > user must not learn. And after all, they are binaries in eXists native > object format, aren't they? > > -- > peter > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Exist-development mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-development > |