what about an IHttpHandler to serve the js files?

/script.ashx?a,b,c,d

will combine (and compress?) the files, and will only take the ones that the
current user/scenario allow for


On Wed, Mar 11, 2009 at 12:54 PM, Wayne Douglas <[email protected]>wrote:

> Hi
> I'm trying to figure out how to secure an online app by only serving the JS
> the user has access to. I.e. - instead of simply disabling/hiding a menu
> button, I'd like the JS that creates that button to never be printed.
>
> I was thinking about setting the *.js files to pass through the monorail
> pipeline and, with some NVelocity logic, limit the JS that actually gets
> sent to the client.
>
> Does anyone know how to do this, if it's been done/is possible or, if
> there's a better way?
>
> I'm using EXTJs/Monorail/NVelocity in a very large/complex application.
>
>
> --
> Cheers,
>
> w://
>
> >
>


-- 
Ken Egozi.
http://www.kenegozi.com/blog
http://www.delver.com
http://www.musicglue.com
http://www.castleproject.org
http://www.gotfriends.co.il

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to