S
Stefan
The last days, I was thinking about how to implement Security for my
ADP application.
I was searching this group a bit for best practices regarding security,
but unfortunately didn't find very much. The most interesting threads
for me were these two:
http://groups-beta.google.com/group...w+WITH_METADATA&rnum=1&hl=de#82380dee74da33ff
http://groups-beta.google.com/group....sqlserver/browse_frm/thread/b2a4ae7278ab1e68
Before reading these threads I thought that one would only need to base
the forms on SP's and everything would be nice. But unfortunately
Access updates/inserts the data directly in the table. Well, after a
bit of thinking it seems reasonable that access does it that way. But
it's bad for security
In these threads i think 3 ways of implementing security with adp's
were mentioned:
1)Allow user access to the tables the forms based on via sp's, views or
directly.
-->It seems to me, that this is the easiest to implement, but it
provides no 'real' security.
OK, after all it's as good as the .mdb solution to the problem
2)create updatable views that provide their metadata (WITH METADATA).
Base the forms on these views.
-->I'm not really sure if this one works in all cases. This provides a
bit a better security than 1). Could this also work if the form is
based on a SP that is itself based on the view? Would the form then
store the data through the view?
3)Base forms on sp's and update the data via other sp's
--->looks to me like the de-luxe security implementation. From an
architectural point of view the
only way to go, but it seems to be a real pain to implement this
(only possible with unbound
forms (?)). This somehow kills the whole speed advantage of
developing with access
(correct me if I'm wrong!)
OK, now my question (besides the ones hidden in the text ):
Dear experienced adp - developers, what security mechanisms do you use
for your projects? What are pro's/con's and are there any pitfalls? Did
I forget a possibility to secure the Database?
Thanks a lot for your response! I think this could also help other adp
developers to secure their databases...
ADP application.
I was searching this group a bit for best practices regarding security,
but unfortunately didn't find very much. The most interesting threads
for me were these two:
http://groups-beta.google.com/group...w+WITH_METADATA&rnum=1&hl=de#82380dee74da33ff
http://groups-beta.google.com/group....sqlserver/browse_frm/thread/b2a4ae7278ab1e68
Before reading these threads I thought that one would only need to base
the forms on SP's and everything would be nice. But unfortunately
Access updates/inserts the data directly in the table. Well, after a
bit of thinking it seems reasonable that access does it that way. But
it's bad for security
In these threads i think 3 ways of implementing security with adp's
were mentioned:
1)Allow user access to the tables the forms based on via sp's, views or
directly.
-->It seems to me, that this is the easiest to implement, but it
provides no 'real' security.
OK, after all it's as good as the .mdb solution to the problem
2)create updatable views that provide their metadata (WITH METADATA).
Base the forms on these views.
-->I'm not really sure if this one works in all cases. This provides a
bit a better security than 1). Could this also work if the form is
based on a SP that is itself based on the view? Would the form then
store the data through the view?
3)Base forms on sp's and update the data via other sp's
--->looks to me like the de-luxe security implementation. From an
architectural point of view the
only way to go, but it seems to be a real pain to implement this
(only possible with unbound
forms (?)). This somehow kills the whole speed advantage of
developing with access
(correct me if I'm wrong!)
OK, now my question (besides the ones hidden in the text ):
Dear experienced adp - developers, what security mechanisms do you use
for your projects? What are pro's/con's and are there any pitfalls? Did
I forget a possibility to secure the Database?
Thanks a lot for your response! I think this could also help other adp
developers to secure their databases...