Jump to content


Check out our Community Blogs

toto_7

Member Since 20 Mar 2011
Offline Last Active Oct 24 2012 10:20 AM
-----

Topics I've Started

Problem With Css And Firefox

16 June 2012 - 01:13 AM

Hello,

I am relatively new on CSS stuff and for this reason I have some problems in order to make my webpage to looks the same to most browsers. I was testing my web page with use of Google Chrome and looks perfect on it. However, when I have tried to test it to other browsers, Safari was OK as well BUT on Firefox is completely mess! Below I have my CSS file. You can have a look on www.cyprusvenue.com and understand what I mean by mess on Firefox.

Thanks in advance,
toto_7

html, body{
background: #3d4a6a url({T_THEME_PATH}/images/outerbg.gif) top left repeat;
height: 100%;
margin: 0px;
}
.header {
	margin: 35px 80px -20px;
	padding: 0;
float: right;
	min-height: 98px;
	padding-bottom: 5px;
	background: url({T_THEME_PATH}/images/header_g1.png) top left repeat-x;
	background: url({T_THEME_PATH}/images/header_g2.png) top center repeat-y, url({T_THEME_PATH}/images/header_g1.png) top left repeat-x;
}
#wrapper {
min-height: 67%;
width: 0;
}
#page-header {
	clear: both;
	margin: 0 20px;
padding-bottom: 4px;
	min-height: 98px;
	background: url({T_THEME_PATH}/images/hdr_tr.gif) top right no-repeat, url({T_THEME_PATH}/images/hdr_tl.gif) top left no-repeat, url({T_THEME_PATH}/images/hdr_l.gif) top left repeat-y, url({T_THEME_PATH}/images/hdr_r.gif) top right repeat-y, url({T_THEME_PATH}/images/hdr_t.gif) top left repeat-x, #dadada url({T_THEME_PATH}/images/innerbg.gif) top left repeat;
}
#contact{
display: block;
position: relative;
margin: 0px 30px;
}
#logo, #website{
display:block;
position:relative;
float: left;
margin: -15px 30px;
padding:0;
top: 50px;
}
#footer{
text-align: center;
	vertical-align: bottom;
	line-height: 1.3em;
	margin: 0 10px;
	padding: 8px;
	padding-top: 15px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.3);
	background: url({T_THEME_PATH}/images/hdr_br.gif) top right no-repeat, url({T_THEME_PATH}/images/hdr_bl.gif) 0 0 no-repeat, url({T_THEME_PATH}/images/hdr_b.gif) 0 0 repeat-x;
}

Encrypt large SealedObject

20 March 2012 - 02:55 AM

Hello,

I'm trying to create a SealedObject that contains a Serializable object and a cipher that initialise with RSA. I want to create a pair of keys for each user, so that's why I'm using RSA. I'm getting an Exception when trying to encrypt this object and I know that the reason is because key's size. My question is how I can create a SealedObject that will contains an Object[] (with two integers and a SecretKey) and encrypt it using user's public key?

Thanks in advance,
toto_7

Achieve authentication using public keys

19 March 2012 - 06:05 AM

Hello,

I would like to ask how I can achieve an authentication for user to the server in Java, using user's username.

Thanks in advance,
toto_7

RMI Security

17 March 2012 - 08:14 AM

Hello,

I'm trying to create a simpe auction program with lil bit security. At the moment I have Server side and Client side. Client side splitted to Seller and Buyer. Seller can add new auction, and close an existed, and Buyer to browse auctions and bid on an auction. Until now, I am generating a pair of keys for each (Server, Seller, Buyer) using KeyPairGenerator("RSA"). My problem now is:

I'm trying to send a message from Client to Server to tell it that I want to login or something. I'm looking for a way to encrypt the message using Client's private key and then encrypt this encrypted message and username, using Server's public key. So at the end, Server will receive this encrypted "object", will use it's private key to get client's username and then will retrieve client's public key from the database to decrypt client's message.

I don't know if my problem is clear,

Thanks in advance,
toto_7

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download