Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Java
  4. Security Manager gone

Security Manager gone

Scheduled Pinned Locked Moved Java
csharpjavasecuritybusinesssales
1 Posts 1 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jschell
    wrote on last edited by
    #1

    The SecurityManager is being removed from Java? JEP 411: Deprecate the Security Manager for Removal[^] For a certain class of problems I found that to be a solution. Without it there is no solution. Certainly in C# such a solution does not exist. The class of problems is one where the business model allows, as a selling point, customers to create their own code for limited solutions. For example (and from a real company) if one allows for Content Management creation then allowing for programmatic creation provides many possibilities. But running that in a shared application space means that the company will want to limit access. Not only things like operating system calls but even to make sure that the customer code doesn't spin up 100 threads. The SecurityManager allows one to prevent that. Alternatives are not as elegant as it requires spinning up a new process and limiting, some functionality, by the access that the user has. It is this one feature that I found made Java better than C#.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups