Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Does using a CMS to manage security to an applet make sense?

Reply
Thread Tools

Does using a CMS to manage security to an applet make sense?

 
 
jmDesktop
Guest
Posts: n/a
 
      05-16-2008
I want a website that is a CMS, has usernames, password. The "normal"
security system stuff. I know there are a multitude, just assume that
people create accounts and the credentials are stored in a MySQL
database.

I also have an applet that will reside on one of the pages. That
applet will require a username and password. Can the applet use JDBC
to query the same database and get the credential information and make
the decision to continue or fail? Is it possible to pass the
credentials used by the CMS to the Applet so I don't have a double
logon?

The main reason I ask is because I didn't want to build an admin
interface to manage user when so many web options are out there. I
didn't want to reinvent the wheel. I don't want a double logon
procedure either though.

Thanks.
 
Reply With Quote
 
 
 
 
Arne Vajhøj
Guest
Posts: n/a
 
      05-16-2008
jmDesktop wrote:
> I want a website that is a CMS, has usernames, password. The "normal"
> security system stuff. I know there are a multitude, just assume that
> people create accounts and the credentials are stored in a MySQL
> database.
>
> I also have an applet that will reside on one of the pages. That
> applet will require a username and password. Can the applet use JDBC
> to query the same database and get the credential information and make
> the decision to continue or fail? Is it possible to pass the
> credentials used by the CMS to the Applet so I don't have a double
> logon?
>
> The main reason I ask is because I didn't want to build an admin
> interface to manage user when so many web options are out there. I
> didn't want to reinvent the wheel. I don't want a double logon
> procedure either though.


If you can live with that:
- direct access to the database from the outside
- people can decompile your applet and read the database
username and password
- people can decompile the applet, remove the security checks,
rebuild it and run the modified version
then: yes.

Else: no.

I would go for:

applet----(HTTP)----web app----(JDBC)----database

Arne
 
Reply With Quote
 
 
 
 
Roedy Green
Guest
Posts: n/a
 
      05-16-2008
On Thu, 15 May 2008 18:47:30 -0700 (PDT), jmDesktop
<> wrote, quoted or indirectly quoted someone
who said :

>I also have an applet that will reside on one of the pages


When considering this, presume some brat has decompiled your Applet
and used that knowledge to create a substitute Applet that causes as
much havoc as possible.

You thus need two layers of security, in the Applet and in the Server.
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
 
Reply With Quote
 
Roedy Green
Guest
Posts: n/a
 
      05-16-2008
On Thu, 15 May 2008 18:47:30 -0700 (PDT), jmDesktop
<> wrote, quoted or indirectly quoted someone
who said :

>
>I also have an applet that will reside on one of the pages.


see http://mindprod.com/jgloss/jdbc.html#APPLETS
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
 
Reply With Quote
 
Mark Space
Guest
Posts: n/a
 
      05-16-2008
jmDesktop wrote:
> I want a website that is a CMS, has usernames, password. The "normal"
>


This is a tangent, but I'm curious: which CMS are you using? Just to
explain my query a bit further: Java has a fair number of CMS system
available, although they can be hard to locate.

Here's one good link I've found:

<http://java-source.net/open-source/content-managment-systems>

 
Reply With Quote
 
jmDesktop
Guest
Posts: n/a
 
      05-17-2008
On May 16, 3:31*pm, Mark Space <marksp...@sbc.global.net> wrote:
> jmDesktop wrote:
> > I want a website that is a CMS, has usernames, password. *The "normal"

>
> This is a tangent, but I'm curious: which CMS are you using? *Just to
> explain my query a bit further: Java has a fair number of CMS system
> available, although they can be hard to locate.
>
> Here's one good link I've found:
>
> <http://java-source.net/open-source/content-managment-systems>


I don't have a CMS yet. I haven't decided on any of it. I'm just
learning more about all of Sun's technology and it's daunting at the
moment. I don't know if if helps me or complicates matters for me.
It is yet another framework for me to learn, but I knew that already.
Thanks for the link. I am sure it will be useful.
 
Reply With Quote
 
Arne Vajhøj
Guest
Posts: n/a
 
      05-17-2008
Sabine Dinis Blochberger wrote:
> Arne Vajhřj wrote:
>> I would go for:
>>
>> applet----(HTTP)----web app----(JDBC)----database

>
> I would change it to
> applet----(HTTPS)----web app----(JDBC)----database
>
> You can get a certificate signed by CACert[1] for free.


Since there will be send a username/password, then
HTTPS would be a good thing.

Arne
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
When Javascript call applet method, applet throw security exception. crazytazo Java 3 10-06-2008 11:12 PM
Manage links in CMS anthonykallay@googlemail.com ASP .Net 1 09-30-2008 06:55 PM
we completely manage your online security for you smithfam1 Computer Security 0 12-07-2007 03:19 AM
[ANN] Radiant CMS 0.6.1 - Stone Cutter (Security Update) John W. Long Ruby 0 05-06-2007 12:27 AM
Re: play wave files using java.applet.Applet webster Java 0 07-20-2003 01:51 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57