Sponsored Content
Full Discussion: Restricting access to code
Top Forums UNIX for Advanced & Expert Users Restricting access to code Post 302342221 by cbkihong on Saturday 8th of August 2009 12:27:31 AM
Old 08-08-2009
Quote:
Originally Posted by akshay61286
Hi All,

I am facing a problem, regarding code security on a server.
We have configured a server which contains our code (ear present in jboss/server/xyz/deploy) in it, and need to bind the code to the server itself so that no one can take the code out of the. the problem is that the password of root for some reasons has to be shared with the users of the server, and we don't want them to create a copy of our code.

Are there some ways to achieve this ???
My understanding is that with JBoss as it stands, you can't.

I have a crazy idea though, yet I'm not even sure whether it makes sense or not as I have not tried it before. In theory, because class loading in Java is based on ClassLoader conceptually speaking you can create a custom classloader that does not load the bytecode from physical files (say, instead load the bytecode over the network on initialization). As the classes have been loaded they will reside in the permanent generation of the JVM (in memory anyway, simply speaking) and there ought to be no physical files on the deployment server. So, no one can find the files in the filesystem. This is not difficult, but how to integrate that custom classloader into JBoss may be more tricky and is likely not as simple as changing some mbean descriptors. Therefore, if you have an earnest need you may need to investigate the class loading of JBoss and think along this direction.

Do share with us (I'm particularly interested in hearing this) if you can actually make it work. Smilie
 

10 More Discussions You Might Find Interesting

1. Cybersecurity

restricting access...

restricted access... Hi I need to restrict users shell access to only $HOME under /home for each user. I don't want them getting out of their own directories. From what I understand chroot is something I could use, but I want to avoid this since it involves creating symbolic links to a number... (9 Replies)
Discussion started by: alwayslearningunix
9 Replies

2. UNIX for Dummies Questions & Answers

Restricting access

I need to create a user that only has access to 1 directory (e.g. /vol/mita/test). The user needs to be able to rsh into that directory to run a script. The user should not be able to navigate to any other directories above /vol/mita/test. Any help would be appreciated! (4 Replies)
Discussion started by: ngagne
4 Replies

3. UNIX for Dummies Questions & Answers

Restricting access to a machine by IP Address

I have a need to allow only certain IP addresses to access a machine running solaris 9. I am not sure how this can be accomplished. Thanks in advance for your help. Patch (2 Replies)
Discussion started by: patch
2 Replies

4. Solaris

restricting access

Hi All, I'm on Solaris 8, I need to provide Read-only access to a user to 2 directories only. Using rsh (restricted shell) as the user's login shell, I can restrict the user's access to a certain directory only, but how can I set in such a way that the user can access only the 2 directories... (4 Replies)
Discussion started by: max_min
4 Replies

5. UNIX for Advanced & Expert Users

restricting root access

I'm the admin in a shop in which my developers have and use the root account, all UNIX newbies. I've been unable to convince management myself that this is an unacceptable practice. I've looked in a couple books I have and can't find any chapters, discussions, etc that make the argument that... (2 Replies)
Discussion started by: keith.m
2 Replies

6. Solaris

restricting access to a server

We want to secure access to a server by restricting the number of users who can login to it. Our users are NIS users. Only few of them can telnet/ssh this server. Do you have any idea on how to implement that? thanks. (1 Reply)
Discussion started by: melanie_pfefer
1 Replies

7. UNIX for Dummies Questions & Answers

Setting permissions and restricting access

Hi all, I have user called "Z". The home directory is /home/Z. I have another directory /home/Z/OP. Within /home/Z/OP, i have 2 directories /home/Z/OP/OP1 and /home/Z/OP2. I want to restrict access for Z to only access /home/Z/OP and /home/Z/OP1 and /home/Z/OP2. What kind of... (4 Replies)
Discussion started by: new2ss
4 Replies

8. Solaris

Restricting FTP access for a particular directory

Dear All, I have created a user called "x" who is allowed only to FTP and it is working fine. Here my problem is, I want to give access to a particular directory say for eg:- /dump/test directory. I don't find any option in the useradd command to restrict access to this particular directory only... (1 Reply)
Discussion started by: Vijayakumarpc
1 Replies

9. Solaris

Restricting CPU Core Access

Hi all. I've had a quick look around but cant see anything exactly matching my requirements. I have a new T2000 running S10. Im looking to restrict the no. cores that a S10 non-global zone can use to 1 only. The box is single CPU but 8core. I want to do this to save on some software... (4 Replies)
Discussion started by: boneyard
4 Replies

10. UNIX for Dummies Questions & Answers

Restricting SFTP access

Hello, I am using MySecureShell to chroot all sftp accesses. The problem that I have is that my boss does not want root to be able to use sftp. Root should still be able to ssh. Any ideas? (2 Replies)
Discussion started by: mojoman
2 Replies
JRPCGEN(1)							      1.0.7""								JRPCGEN(1)

NAME
jrpcgen - an RPC protocol compiler SYNOPSIS
jrpcgen [-options] x-file DESCRIPTION
jrpcgen is a tool that generates Java code to implement an RPC protocol. The input to jrpcgen is a language similar to C known as RPC Lan- guage (Remote Procedure Call Language). where options include: -c <classname> specify class name of client proxy stub -d <dir> specify directory where to place generated source code files -p <package> specify package name for generated source code files -s <classname> specify class name of server proxy stub -ser tag generated XDR classes as serializable -bean generate accessors for usage as bean, implies -ser -noclamp do not clamp version number in client method stubs -withcallinfo supply call information to server method stubs -initstrings initialize all strings to be empty instead of null -nobackup do not make backups of old source code files -noclient do not create client proxy stub -noserver do not create server proxy stub -parseonly parse x-file only but do not create source code files -verbose enable verbose output about what jrpcgen is doing -version print jrpcgen version and exit -debug enables printing of diagnostic messages -? -help print this help message and exit -- end options SEE ALSO
The full documentation for jrpcgen is maintained as a Texinfo manual. If the info and jrpcgen programs are properly installed at your site, the command info jrpcgen should give you access to the complete manual. jrpcgen version August 2009 JRPCGEN(1)
All times are GMT -4. The time now is 01:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy