ShanMan14, all Great advice here so there is little for me to add, but FWIW here are a few thoughts, and some pic's of how I secure to the dock.
1) Make sure you do not have any valuables in plain sight, and make sure your insurance is paid up.
2) Unless you have an unusually long dock that even with the bow in allows you to easily board from the swim platform, definitely back it in.
3) Don't clutter up the dock with anything that will be in the way as your dockmates pass by your boat, and keep all lines, hoses, and electric cords secured and neatly out of the way so noone trips over them.
4) I use lines and fenders. Lines do stretch and the fender is a good precaution. Attached are some pics of how I have mine tied up. This is the extreme that I use for times when they are calling for high winds. IF calm, I do not secure the 2nd bow line on the port side, and I do not secure the starboard spring line. I know that posting these pics will expose me to extreme scrutiny but bring it on. Seriously, If a criticism of my practices helps me to find a better way, then let it be. Here Goes! And NO, I do not wear both a belt and suspenders:
That was hard work, time for some Vino! Cent Anni!
Now that we have had some noruishment, "Let's Go" for a cruise! "Andiamo means, Let's Go!
Hope this helps a little. If not, heck I had some fun! Ciao!