# password field

**URL:** <https://forum.fixtrading.org/t/password-field/4615>\
**Category:** General Q&A\
**Tags:** general-qa, xid\_167690, imported\
**Created:** [March 31, 2008, 4:54pm UTC](https://forum.fixtrading.org/t/password-field/4615 "2008-03-31T16:54:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bilshah\_x](https://avatars.discourse-cdn.com/v4/letter/b/dbc845/32.png) [@bilshah\_x](https://forum.fixtrading.org/u/bilshah_x)\
**Post date:** [March 31, 2008, 4:54pm UTC](https://forum.fixtrading.org/t/password-field/4615/1 "2008-03-31T16:54:41Z")

</div>

Imported from previous forum

---

<div class="post-metadata">

**Author:** ![bilshah\_x](https://avatars.discourse-cdn.com/v4/letter/b/dbc845/32.png) [@bilshah\_x](https://forum.fixtrading.org/u/bilshah_x)\
**Post date:** [March 31, 2008, 4:54pm UTC](https://forum.fixtrading.org/t/password-field/4615/2 "2008-03-31T16:54:41Z")

</div>

Hi,

I want to have password authentication before establishing a fix connection with sell-side. How is this information usually passed in FIX 4.0 and 4.2 as I dont see any specialized password field in both these versions.

Thanks,

---

<div class="post-metadata">

**Author:** ![sajjadahmad\_x](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@sajjadahmad\_x](https://forum.fixtrading.org/u/sajjadahmad_x)\
**Post date:** [March 31, 2008, 5:06pm UTC](https://forum.fixtrading.org/t/password-field/4615/3 "2008-03-31T17:06:45Z")

</div>

> Hi,
> 
> I want to have password authentication before establishing a fix  
> connection with sell-side. How is this information usually passed in  
> FIX 4.0 and 4.2 as I dont see any specialized password field in both  
> these versions.
> 
> Thanks,

It depends upon which engine you are using. e.g. if you are using quickfix then you can embed the password field into the message in the event ‘toAdmin’, which is fired when you send the login request, in the implementation of this event, you can read password (may be from some user database etc.) and set the field 554.

In case you are not using any fix engine then you have to do on the client side before logon message is sent.

Thanks

---

<div class="post-metadata">

**Author:** ![tedgraham\_x](https://avatars.discourse-cdn.com/v4/letter/t/8e7dd6/32.png) [@tedgraham\_x](https://forum.fixtrading.org/u/tedgraham_x)\
**Post date:** [March 31, 2008, 5:17pm UTC](https://forum.fixtrading.org/t/password-field/4615/4 "2008-03-31T17:17:42Z")

</div>

Many exchanges use the RawDataField ([http://www.onixs.biz/fixdictionary/5.0/tagNum\_96.html](http://www.onixs.biz/fixdictionary/5.0/tagNum_96.html)) to hold the password. Remember to set the RawDataLength as well if your FIX engine doesn’t do it automatically.

Ted

> Hi,
> 
> I want to have password authentication before establishing a fix  
> connection with sell-side. How is this information usually passed in  
> FIX 4.0 and 4.2 as I dont see any specialized password field in both  
> these versions.
> 
> Thanks,
