[Dbix-class] Read only resultsets

Dave Howorth dhoworth at mrc-lmb.cam.ac.uk
Thu Aug 12 08:52:44 GMT 2010


Dan Horne wrote:
> The recent discussion on read only objects has got me wondering. Say one
> has an app which basically sends result sets to TT templates. What stops
> a malicious designer from doing DB updates in the templates since they
> have the RS objects?

Make sure that the DBI connection that the templates use is of a db-user
that only has SELECT privileges?

Cheers, Dave



More information about the DBIx-Class mailing list