Hi
I've got an Intranet web app which has a page where people can enter custom SQL and bring back the results. Obviously the user under which the SQL runs is highly restricted so that they can't drop tables etc.
But they can still do crazy stuff like make a query which takes 57 years to run or something, and tie up the server resources
My question then is - for this user, is it possible to set something up so that Oracle will not continue executing queries if they take beyond a certain time, or else that Oracle will drop the connection if a query has been active for too long.
I'm using ASP.net, which keeps connections open using connection pooling, so ideally I'd like not just to timeout connections, but if this is the only way, then so be it.
Thanks
Mark![[openup] [openup] [openup]](/data/assets/smilies/openup.gif)
I've got an Intranet web app which has a page where people can enter custom SQL and bring back the results. Obviously the user under which the SQL runs is highly restricted so that they can't drop tables etc.
But they can still do crazy stuff like make a query which takes 57 years to run or something, and tie up the server resources
My question then is - for this user, is it possible to set something up so that Oracle will not continue executing queries if they take beyond a certain time, or else that Oracle will drop the connection if a query has been active for too long.
I'm using ASP.net, which keeps connections open using connection pooling, so ideally I'd like not just to timeout connections, but if this is the only way, then so be it.
Thanks
Mark
![[openup] [openup] [openup]](/data/assets/smilies/openup.gif)