Manuel Jordan

Ranch Hand
+ Follow
since Sep 29, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Manuel Jordan

Hi Jayesh

Thanks by the kind words..

I understand, thanks by the updating.

Kind Regards
Hello Eric

If the server security is so weak that someone can take advantage of it by looking at your client-side code


I am working with Spring Security, a robust solution, of course it is for the server side

About the client side I mean like a bad code regex validation for a field or a bug where the user could send an empty value, some about that

it's the server security that you should be spending your time worrying about


Working with Spring Security and ModifyHeader Firefox plugin to send expected customize headers values to be recognized by the server prior to accept a petition, of course apart of the login control.

I going to use openVPN to isolate the network

Security through obscurity (or obfuscation) is no real security at all.


Totally agree

If you can share some tips, please let me know, normally I used to work for intranet area, this case is for Internet

My Best Regards
Hello Eric

Well anyone that wants to get passed your security with JavaScript just has to disable JavaScript and all the validations and checks are no longer valid.


Yes I know about that, is always wise has twice validation of Data, specially in the server side for this situation

Anyone with a small bit of JS knowledge of debugging can get the code since it has to be de-obfuscated for the browser to read it.


Agree

But my point was about avoid to let the user know information about what logic or type of validation are working, perhaps I wrote a bad regex control (we are human) and hey could take advantage of this, I hope you see my perspective now

Thanks for your time
Hello

Thanks for the reply

Not to be snide, but I find your question amusing in the light of your signature:


Could be, but I wrote this question due security reasons, thats all, like regex and special validation control, I want avoid give an idea about what could be happening in the server side about validations or other things. I hope you see my point

Like me, don't worry about it. I minimize for footprint rather than for obfuscation.
Use an obfuscating minimizer -- I've used Yahoo's in the past with success.


Thank you

Best Regards
Hello Guys


I have a Web application and the web resources like jss,css,jquery files are located outside of the WEB-INF directory (Java application) and if some user or hacker change the URL could see the source code for many js and jquery files

What is the best way to handle this?

Thanks in advanced
Hello Guys

Could you share your best recommendation for free Obfuscator tools for javascript and jquery/css?

I have a Java Web application and the web resources like jss,css,jquery files are located outside of the WEB-INF directory and if some user or hacker change the URL could see the source code for many js and jquery files

What is the best way to handle this?

Thanks in advanced
Hello Tim


reading it again, I see that there are two columns and you want asignadoOrigen and asignadoDestino to both map to idAsignado in the Asignado table. This is still a problem because you have defined A OneToOne relationship between Asignado and TraspasoAsignado entities. idAsignado cannot be two different values at once.



I already solved this, refactoring the table in two, a header(father) and a detail(child), each child (two in this case) with the FK instance (relation 1..1) and the father controlling each child relation

Thanks anyway !
Dear Members

I am working with the follow dependencies


Among many entities I have these two Asignado and TraspasoAsignado

The first defined in this way




The Second


I get this error




OK, is clear that idAsignado is repetead

I already did a research on the forum and the most common solution is do

@JoinColumn(name="idAsignado", insertable=false, updatable=false) but I did realize the follow

Even if I use insertable=false and updatable=false I will have one column that you could not write to or update to; if that so, then, when hibernate it's retrieving the data how it will know which property to fill, with only one column for 2 properties.

I want get the follow row representation

Asignado
PK
Asg1 ...
Asg2 ...
Asg3 ...

TraspasoAsignado
PK
Tr1 .. Asg1 Asg2 ...
Tr2 .. Asg10 Asg22 ...
Tr3 .. Asg15 Asg50 ...

Obviously each FK value for idAsignado in TraspasoAsignado entity never must be the same

How I could resolve this?

Thanks in advanced