Results 1 to 2 of 2

Thread: Securing Context Config

  1. #1
    Join Date
    Aug 2005
    Posts
    4

    Default Securing Context Config

    I'm interested in preventing a customer from overriding the wiring declared in the spring context config file ( bean definitions ).

    How do you typically deliver a spring based application and still provide the flexibility to change some config while limiting access to other config elements? For example, allowing a customer to change a DAO implementation but preventing a customer from cleverly injecting their own Licensing Manager implementation.

    Any/All suggestions welcome.

    Thanks,
    Mark

  2. #2
    Join Date
    Aug 2004
    Location
    u.s.a
    Posts
    399

    Default

    One idea is to modularize the bean files. Some can be inaccessible (in a sealed secure jar), loaded via classpath, whereas other bean definitions can be loaded from the host file system or other resource and is intended for "user" modification. But, how does one create a sealed secure jar file? I don't think there is a such a thing since the classloader must eventually have access to the byte code, and beyond that the JVM must too (ruling out encrypted classloaders).

    Of course, there are even more issues. The book "Covert Java" has some relevent info on this stuff.

    J. Betancourt

Similar Threads

  1. Replies: 7
    Last Post: Jan 8th, 2013, 04:05 AM
  2. Replies: 4
    Last Post: Oct 24th, 2005, 10:28 AM
  3. Replies: 2
    Last Post: Oct 13th, 2005, 02:47 PM
  4. Loosing my SecureContext
    By sklakken in forum Security
    Replies: 3
    Last Post: Jul 21st, 2005, 01:44 PM
  5. Stack Overflow
    By rayho222 in forum Container
    Replies: 6
    Last Post: May 17th, 2005, 03:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •