• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Modify Question

 
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey guys,
For the modify in remote mode do we need to take into account whether the person has the correct lock and is not just arbitratly calling the lock method?
Meaning, do I need to worry about malicious users manipulating my code? Currently, I have modify locked down very hard in remote mode, needing a valid key etc, but I was wondering if it's needed as my locking mechnasim works just fine, so in my code I know that if I get to the modify method I do have the correct key, but should I code for malicous users?
When I say malicious users I mean on the programming side, on the end user side, there's no way for them to do what I am saying above.
-Matt
 
town drunk
( and author)
Posts: 4118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, you really don't. In a real application, this might be concern. But here, I think it will just add complexity you are not really required to provide.
All best,
M, author
The Sun Certified Java Developer Exam with J2SE 1.4
[ December 20, 2002: Message edited by: Max Habibi ]
 
Matt Ghiold
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank's I was thinking it was a little overkill on my side as well.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic