With modals, BOTH positions are correct: 'Te lo posso dare' = 'Posso dartelo'. The double pronoun attaches to the infinitive (drop final -e) OR precedes the modal.
With modal verbs — Two positions (me/te/glie- forms)1 / 10
Which sentence correctly says 'I can give it to you' (il libro)?